3ef2e85f47597a69c936770083694f2b8e6eb31c,tillerinobot/src/main/java/tillerino/tillerinobot/lang/Tsundere.java,Tsundere,optionalCommentOnNP,#IRCBotUser#OsuApiUser#BeatmapMeta#,523

Before Change



	@Override
	public void optionalCommentOnNP(IRCBotUser user, OsuApiUser apiUser, BeatmapMeta meta) {
		if (Math.random() > 0.25 || !(meta.getEstimates() instanceof PercentageEstimates)) {
			return;
		}
		PercentageEstimates estimates = (PercentageEstimates) meta.getEstimates();
		double typicalPP = (apiUser.getPp() / 20.0);
		if (estimates.getPPForAcc(.95) / typicalPP > 2.0) {
			user.message("Are you serious!? If that map doesn't kill you, I will.");

After Change


		if (Math.random() > 0.25) {
			return;
		}
		PercentageEstimates estimates = meta.getEstimates();
		double typicalPP = (apiUser.getPp() / 20.0);
		if (estimates.getPPForAcc(.95) / typicalPP > 2.0) {
			user.message("Are you serious!? If that map doesn't kill you, I will.");